<!-- Begin admin/tables.tpl -->
<form method="post" action="?module=admin&action=download_table&submit=true">


{titlebar colspan=1 title="Download Tables"}

<tr class="sectiontableheader" align="center">
	<td align="left">Tables</td>
</tr>
	{if is_array($tables)}
	<tr >
		<td align="left" >
			<select name="sel[]" size="35" multiple="multiple" style="width: 100%;">
			{foreach from=$tables key=key item=table}
				<option value="{$table}">{$table}</option>
			{/foreach}
			</select>
		</td>

		<td>
			<select name="format"  >
				<option value="0">csv</option>
			</select>

			<select name="type"  >
				<option value="0">INSERT</option>
				<option value="1">UPDATE</option>
			</select>
			<input type="submit" class="button" value="Download Selected" />
		</td>
	</tr>
	{else}
		<tr class="data"><td colspan="2">{$lg->no_data}</td></tr>
	{/if}

</table>
</table>
</form>
<!-- End admin/tables.tpl -->

